Skip to main content

TsgDXFMText

Unit: DXFConv

Description

The TsgDXFMText class defines text wrapped by the rectangle (entity MTEXT).

Syntax

TsgDXFMText = class(TsgDXFInsert)

Properties

PropertiesDescription
AlignThe property indicates align of the text:
HeightThe property specified a height of the text.
LineSpacingFactorThe property specifies whether the text is hyphenated.
LineSpacingStylePercentage of default (3-on-5) line spacing to be applied.
Point1The property specifies if taller characters will override.
RectHeightThe property determines X-axis direction vector.
RectWidthThe property contains height of the rectangle embraced the text entity.
StyleThe property contains width of the rectangle embraced the text entity.
TextThe property sets/gets style by the TsgDXFStyle class object.
Derived from TsgDXFInsertDescription
AngleThe property sets or gets a rotation angle.
AttribsThe property returns a list of the TsgDXFAttrib entities.
BlockThe property sets or gets inserted block.
ExtrusionThe property displays direction to local axis z.
OwnerThe property for nested block references, points to the TsgDXFInsert object whose block contains this block reference.
ScaleThe property contains scale in the X , Y and Z directions.
Derived from TsgDXFCustomVertexDescription
PointThe property contains coordinates of the vertex.
Derived from TsgDXFEntityDescription
BoxThe property determines the 3d box embraced the entity.
ColorThe property gets or sets entity color.
ColorCADThe property gets or sets a color for drawing entities.
ComplexThe property determines whether a entity is populated with child entities.
ConverterThe property returns the TsgDXFConverter class object.
CountThe property indicates the total number of child entities.
EntitiesThe property lists all child entities.
EntTypeThe property indicates type of an entity.
HandleThe property is used for finding entity links.
LayerThe property points to layer, containing given primitive if this layer is given.
LineTypeThe property sets and gets line type for an entity.
LineTypeScaleThe property sets and gets the Linetype scale.
LineWeightThe property sets or gets line weight in millimeters.
PaperSpaceThe property indicates Model Space and Paper Space entity segregation.
SrcEndThe property indicates end position of the entity description in the source CAD file.
SrcStartThe property indicates start position of the entity description in the source CAD file.
VisibilityThe property sets and gets entities visibility.
VisibleThe property determines whether the component appears onscreen.

Methods

MethodsDescription
AssignEntityThe method copies properties of source entity to current entity.
CreateCreates internal the TsgDXFBlock object after creating this object.
DestroyFrees up objects before destroying this object.
EntNameThe method returns result of the EntName function of the base class (TsgDXFInsert.EntName) and values of the Text property.
GetThicknessThe method returns returns lineweight enum value.
SetLWeightThe method sets lineweight enum value by defined in Value integer.
Derived from TsgDXFInsertDescription
AttribThe method returns the ATTRIB entity with given tag specified by S, and its insertion point.
FindBlockThe method returns the TsgDXFBlock entity specified by the AName parameter if exists.
GetMatrixThe method returns a coordinate-transformation matrix.
RealColorThe method inserts a specified entity to a list at a position specified by AIndex.
RealLayerThe method returns AColor.
Derived from TsgDXFEntityDescription
CloneThe method copies properties of source entity to current entity (include Handle).
DrawThe method generates the OnDraw event.
GetBoxPointsThe method is used in drawing cycle for fast checking whether the entity must be drawn.
SetLTypeThe method sets line type of the entity.

Events

EventsDescription
OnDrawThe event occurs when the Draw method is called.